<?php
/*
 * ----------------------------------------------------------------------------
 * "THE BEER-WARE LICENSE" (Revision 42):
 * <r.mujica.91@gmail.com> wrote this file. As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer in return.
 * ----------------------------------------------------------------------------
 
 * SmartyAss Configuration File
 *
 * Note: You shouldn't edit this file unless you know
 * EXACTLY what you are doing. Else, you should use 
 * your neatly designed Admin CP to edit you website
 * settings. Still here? Ok, follow the comments to get
 * some info on what each variable contains.
 *
 */

## Database Configuration

# Database Server Host
# Default: localhost. You may use an IP or a hostname (like db.host.net)
# Note: If using SQLite, you must use an absolute path (like C:\server\db.sqlite)
# Note 2: If using a different port that the default one for your database type
# (3306 for MySQL and 5432 for PgSQL), you should append it to the server host
# (like db.host.net:1234 or 127.0.0.1:1425)
$cfg['db']['host'] = 'localhost';

# Database Type
# Can be: MySQL, PostgreSQL or SQLite
$cfg['db']['type'] = 'MySQL';

# Database Schema
# Default: otserv
# Note: SQLite users should use the same value as the server host
$cfg['db']['database'] = 'opentibia';

# Database Username
# Default: otuser, blank for SQLite users
# Note: IT IS A SECURITY RISK TO USE THE 'ROOT' USER! NEVER EVER USE IT FOR
# PRODUCTION SERVERS!
$cfg['db']['user'] = 'root';

# Database Password
# Default: changeme, blank for SQLite users
$cfg['db']['password'] = '';

## Automatic Account Creation Interface

# Password Hashing
# Default: sha1
# Can be: none, md5, sha1
$cfg['aaci']['hashing'] = 'sha1';
?>